package org.jeecg.modules.demo.spcWeeklyPlan.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import kotlin.jvm.Transient;
import org.jeecg.common.aspect.annotation.Dict;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 周计划明细
 * @Author: jeecg-boot
 * @Date:   2023-10-23
 * @Version: V1.0
 */
@Data
@TableName("spc_weekly_plan_detail")
@ApiModel(value="spc_weekly_plan_detail对象", description="周计划明细")
public class SpcWeeklyPlanDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键id")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**审核人*/
	@Excel(name = "审核人", width = 15)
    @ApiModelProperty(value = "审核人")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    private java.lang.String reviewedBy;
	/**审核时间*/
	@Excel(name = "审核时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审核时间")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private java.util.Date auditTime;
	/**审核意见*/
	@Excel(name = "审核意见", width = 15)
    @ApiModelProperty(value = "审核意见")
    private java.lang.String reviewComments;
	/**单据状态*/
	@Excel(name = "单据状态", width = 15)
    @ApiModelProperty(value = "单据状态")
    @Dict(dicCode="shenh_state")
    private java.lang.Integer documentStatus;
	/**单据号*/
	@Excel(name = "单据号", width = 15)
    @ApiModelProperty(value = "单据号")
    private java.lang.String documentNumber;
	/**单据日期*/
	@Excel(name = "单据日期", width = 20, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "单据日期")
    private java.util.Date documentDate;
	/**开始日期*/
	@Excel(name = "开始日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始日期")
    private java.util.Date startTime;
	/**结束日期*/
	@Excel(name = "结束日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束日期")
    private java.util.Date endTime;
	/**计划类型*/
	@Excel(name = "计划类型", width = 15)
    @ApiModelProperty(value = "计划类型")
    private java.lang.Integer planType;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String notes;
	/**发货站点*/
	@Excel(name = "发货站点", width = 15)
    @ApiModelProperty(value = "发货站点")
    private java.lang.String shippingSite;
	/**客户*/
	@Excel(name = "客户", width = 15)
    @ApiModelProperty(value = "客户")
    private java.lang.String custom;
	/**发站*/
	@Excel(name = "发站", width = 15)
    @ApiModelProperty(value = "发站")
    private java.lang.String departureStation;
	/**到站*/
	@Excel(name = "到站", width = 15)
    @ApiModelProperty(value = "到站")
    private java.lang.String arriveStation;
	/**品种编码*/
	@Excel(name = "品种编码", width = 15)
    @ApiModelProperty(value = "品种编码")
    private java.lang.String varietyCode;
	/**规格型号*/
	@Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
    private java.lang.String specification;
	/**单位*/
	@Excel(name = "单位", width = 15)
    @ApiModelProperty(value = "单位")
    private java.lang.String unit;
	/**建议数*/
	@Excel(name = "建议数", width = 15)
    @ApiModelProperty(value = "建议数")
    private java.math.BigDecimal suggestedNumber;
	/**销售部初审意见*/
	@Excel(name = "销售部初审意见", width = 15)
    @ApiModelProperty(value = "销售部初审意见")
    private java.lang.String prcftsd;
	/**市场部初审意见*/
	@Excel(name = "市场部初审意见", width = 15)
    @ApiModelProperty(value = "市场部初审意见")
    private java.lang.String prootmd;
	/**批复计划量*/
	@Excel(name = "批复计划量", width = 15)
    @ApiModelProperty(value = "批复计划量")
    private java.math.BigDecimal approvedPlanNumber;
	/**无税单价*/
	@Excel(name = "无税单价", width = 15)
    @ApiModelProperty(value = "无税单价")
    private java.math.BigDecimal wsdj;
	/**无税金额*/
	@Excel(name = "无税金额", width = 15)
    @ApiModelProperty(value = "无税金额")
    private java.math.BigDecimal wsje;
	/**含税单价*/
	@Excel(name = "含税单价", width = 15)
    @ApiModelProperty(value = "含税单价")
    private java.math.BigDecimal hsdj;
	/**含税金额*/
	@Excel(name = "含税金额", width = 15)
    @ApiModelProperty(value = "含税金额")
    private java.math.BigDecimal hsje;
	/**税额*/
	@Excel(name = "税额", width = 15)
    @ApiModelProperty(value = "税额")
    private java.math.BigDecimal taxAmount;
	/**税率*/
	@Excel(name = "税率", width = 15)
    @ApiModelProperty(value = "税率")
    @Dict(dicCode = "shuilv")
    private Integer taxRate;
	/**周计划单号*/
    @ApiModelProperty(value = "周计划单号")
    private java.lang.String weekplanNo;
	/**租户id*/
	@Excel(name = "租户id", width = 15)
    @ApiModelProperty(value = "租户id")
    private java.lang.Integer tenantId;
	/**煤矿名称*/
	@Excel(name = "煤矿名称", width = 15)
    @ApiModelProperty(value = "煤矿名称")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    private java.lang.String meikmc;
	/**煤矿id*/
	@Excel(name = "煤矿id", width = 15)
    @ApiModelProperty(value = "煤矿id")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    private java.lang.String meikid;
    @Excel(name = "合同编号", width = 15)
    @ApiModelProperty(value = "合同编号")
    private java.lang.String soConNo;
    /**合同内部编号*/
    @Excel(name = "合同内部编号", width = 15)
    @ApiModelProperty(value = "合同内部编号")
    private java.lang.String tradecode;
    /**产品名称*/
    @Excel(name = "产品名称", width = 15)
    @ApiModelProperty(value = "产品名称")
    private java.lang.String prdName;
    /**是否生成日计划（0：否，1：完成2部分完成）*/
    @Excel(name = "是否生成日计划（0：否，1：完成2部分完成）", width = 15)
    @ApiModelProperty(value = "是否生成日计划（0：否，1：完成2部分完成）")
    @Dict(dicCode = "hetzt")
    private Integer isRjh;
    /**业务员*/
    @Excel(name = "业务员", width = 15)
    @ApiModelProperty(value = "业务员")
    @Dict(dictTable = "sys_user",dicCode ="id",dicText="realname")
    private String staff;
    /**部门*/
    @Excel(name = "部门", width = 15)
    @ApiModelProperty(value = "部门")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    private String dept;
    /**
     * 运输方式
     */
    @Excel(name = "运输方式", width = 15)
    @ApiModelProperty(value = "运输方式")
    private String ystype;
    /**
     * 所属流程
     */
    private String flowNum;
    /**
     * 流程步骤
     */
    private String flowStep;

    private String maisdwmc;

    private String chumdwmc;


}
